
const app = {
  namespaced: true,
  state: () => ({
    mobile: false,
    app: "Gintify",
    footer: {
      "items-per-page-text": "条目"
    },
  }),
  mutations: {
    setMobile(state, flag) {
      console.log("isMobile", flag)
      state.mobile = flag;
    }
  },
  actions: {

  },
  getters: {
    footer(state) {
      return state.footer;
    },
    isMobile: state => state.mobile,
    AppName: (state) => state.app,
  },
};

export default app;
